// 默认路由
import React from 'react'
import ReactDOM from 'react-dom'
import { BrowserRouter as Router, Route, Link } from 'react-router-dom'


const Home = () => <p>进入页面，你能看到我吗</p>

const App = () => (
    <Router>
        <div>
            <h1>默认路由</h1>
        </div>
        {/* 默认路由 */}
        <Route path="/" component={Home}></Route>
    </Router>
)

ReactDOM.render(<App />, document.getElementById('root'))